package cn.cvs.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class UHistory {
    private Integer userId;
    private String userName;
    private String phone;
    private String cardId;
    @JSONField(format = "yyyy-MM-dd")
    private Date firstDate;
    @JSONField(format = "yyyy-MM-dd")
    private Date lastDate;
    private String despertion;
    private Htype htype;
    private Room room;
    private double allMoney;
    private String roomName;
    private Integer rType;

    public Integer getrType() {
        return rType;
    }

    public void setrType(Integer rType) {
        this.rType = rType;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public double getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(double allMoney) {
        this.allMoney = allMoney;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public Date getFirstDate() {
        return firstDate;
    }

    public void setFirstDate(Date firstDate) {
        this.firstDate = firstDate;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public String getDespertion() {
        return despertion;
    }

    public void setDespertion(String despertion) {
        this.despertion = despertion;
    }

    public Htype getHtype() {
        return htype;
    }

    public void setHtype(Htype htype) {
        this.htype = htype;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    @Override
    public String toString() {
        return "UHistory{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", cardId='" + cardId + '\'' +
                ", firstDate=" + firstDate +
                ", lastDate=" + lastDate +
                ", despertion='" + despertion + '\'' +
                ", htype=" + htype +
                ", room=" + room +
                ", allMoney=" + allMoney +
                ", roomName='" + roomName + '\'' +
                ", rType=" + rType +
                '}';
    }
}
